From: Bilal Elmoussaoui Date: Fri, 14 Jun 2024 17:06:39 +0000 (+0200) Subject: ui/animation: Fix a de-ClutterColor fallout X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~79 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0cdddaa4a7fcb5a92b011da94e1ad66129e3c81d;p=gnome-shell.git ui/animation: Fix a de-ClutterColor fallout Fixes: 7f0b1e98c ("cleanup: Adapt to removed ClutterColor") Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7722 Part-of: --- diff --git a/js/ui/animation.js b/js/ui/animation.js index 5ceba6910..b9cb9802c 100644 --- a/js/ui/animation.js +++ b/js/ui/animation.js @@ -147,7 +147,7 @@ class Spinner extends AnimatedIcon { this.connect('style-changed', () => { const themeNode = this.get_theme_node(); const textColor = themeNode.get_foreground_color(); - const [, luminance] = textColor.to_hls(); + const [, , luminance] = textColor.to_hsl(); const file = luminance > 0.5 ? this._fileDark : this._fileLight;